package com.eshore.norm.pattern.command;

import java.util.HashMap;
import java.util.Map;

/**
 * 订单类
 *
 * @author: v-chenjl62
 * @date: 2024/2/7 10:03
 */
public class Order {
    private int diningTable;
    private Map<String,Integer> foodDir=new HashMap<>();

    public int getDiningTable() {
        return diningTable;
    }

    public void setDiningTable(int diningTable) {
        this.diningTable = diningTable;
    }

    public Map<String, Integer> getFoodDir() {
        return foodDir;
    }

    /**
     * description
     *
     * @param name 菜名
     * @param num 数量

     */
    public void setFoodDir(String name,int num) {
        foodDir.put(name,num);
    }
}
